import {request} from "../utils/request";

export function queryAddressList(data: any) {
  return request({
    url: "address/queryAddressList",
    method: "post",
    data,
  });
}

export function queryAddressListByPage(data: any) {
  return request({
    url: "address/queryAddressListByPage",
    method: "post",
    data,
  });
}

export function addressAdd(data: any){
  return request({
      url: "address/add",
      method: "post",
      data,
    });
}

export function addressEdit(data: any){
    return request({
        url: "address/edit",
        method: "post",
        data,
      });
}

export function addressDel(data: any){
    return request({
        url: "address/del",
        method: "post",
        data,
      });
}